package joc.internal.transformer;

import javassist.CtBehavior;
import javassist.CtClass;
import joc.internal.transformer.helper.PureExpressionEditor;

public class ConditionBehaviorTransformer extends DeclaredBehaviorTransformer {

	public ConditionBehaviorTransformer(Transformer transformer) {
		super(transformer);
	}

	@Override
	public void transform(CtClass clazz, CtBehavior behavior) throws Exception {
		behavior.instrument(new PureExpressionEditor(this, true));
	}

}
